BoldBlocks\Library B

Total Complexity 90
Dependencies 5
Dependents 2
Total lines 1,054
Lines of code 618
Logical lines of code 235
Comment lines 282
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
enqueue_variation_library_scripts()
S
47 5 36
enqueue_block_library_scripts()
S
47 5 35
get_all_blocks_from_library()
S
49 5 31
get_all_variations_from_library()
S
49 5 31
get_all_patterns_from_library()
S
49 5 31
get_full_block_library_data()
S
50 4 30
get_full_variation_library_data()
S
50 4 30
get_block_keywords_from_library()
S
50 4 28
get_variation_keywords_from_library()
S
50 4 28
enqueue_pattern_library_scripts()
S
51 4 26
get_full_pattern_library_data()
S
51 3 28
get_pattern_keywords_from_library()
S
51 3 26
get_max_items()
S
63 4 11
rest_library_item_collection_params()
S
66 3 9
rest_library_item_query()
S
65 3 9
run()
S
53 1 22
register_block_library_get_blocks_endpoint()
S
57 1 20
register_variation_library_get_variations_endpoint()
S
57 1 20
register_pattern_library_get_patterns_endpoint()
S
57 1 20
admin_menu_add_block_library_page()
S
59 1 19
admin_menu_add_variation_library_page()
S
59 1 19
get_library_url()
S
72 2 6
in_admin_header_block_library()
S
65 2 10
in_admin_header_variation_library()
S
65 2 10
get_blocks_from_library()
S
69 2 7
get_variations_from_library()
S
69 2 7
get_patterns_from_library()
S
69 2 7
register_get_block_keywords_from_library_endpoint()
S
64 1 11
register_get_variation_keywords_from_library_endpoint()
S
64 1 11
register_get_pattern_keywords_from_library_endpoint()
S
64 1 11
update_library_cache()
S
79 1 3
clear_library_cache()
S
68 1 8
get_library_block_cache_key()
S
82 1 3
get_library_block_keywords_cache_key()
S
82 1 3
get_library_variation_cache_key()
S
82 1 3
get_library_variation_keywords_cache_key()
S
82 1 3
get_library_pattern_cache_key()
S
82 1 3
get_library_pattern_keywords_cache_key()
S
82 1 3